#include <iostream>
#include <vector>

using namespace std;

int main()
{
    vector<int> v;
    size_t capacity = v.capacity();
    cout << "Default capacity:" << capacity << endl;

    v.reserve(100);
    int i = 0;
    while (i < 100)
    {
	    v.push_back(i);

    	if (capacity != v.capacity())
    	{
	    	capacity = v.capacity();
	    	cout << "New capacity:" << capacity << endl;
    	}
    	i++;
    }
    return 0;
}
